<template>
<div>
    <!-- <van-uploader :after-read="afterRead">
    <van-button icon="plus"  
      ></van-button
    >
  </van-uploader> -->
  <van-uploader :after-read="afterRead" v-model="fileList" multiple :max-count="1"  >
      <van-button icon="plus"  
      ></van-button
    >
  </van-uploader>
</div>
  
</template>


<script>
export default {
  data() {
    return {
        fileList: [],
    };
  },
  methods: {
    afterRead(file){
        console.log(file.file);
    }
  },
};
</script>

<style scoped>
</style>